﻿using System;

using System.Collections.Generic;
using System.Text;

namespace BMUpload

{

    public class CurrentUser
    {
        #region Instance
        private static CurrentUser m_Instnace;

        public static CurrentUser Instance
        {
            get
            {
                if (m_Instnace == null)
                {
                    m_Instnace = new CurrentUser();
                }

                return m_Instnace;
            }
        }

        private CurrentUser()
        {
        }
        #endregion
        //连接密钥
        private static string _sessionid = "";
        public string SessionID { get { return _sessionid; } set { _sessionid = value; } }
        //Endpoint
        private static string _EndpointName = "";
        public string EndpointName { get { return _EndpointName; } set { _EndpointName = value; } }

        //Endpoint
        private static string _softtype = "";
        public string SoftType { get { return _softtype; } set { _softtype = value; } }         
        
        //用户帐号，登录帐号        
        private string _userid = "";
        public string UserID { get { return _userid; } set { _userid = value; } }         
        
    }

}
